package com.yuxi.Dao;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.CommentRecordBrowse;
import com.yuxi.Entity.ConferenceRecord;
import com.yuxi.Request.Page;

/**
 *会议记录操作接口
 * @author hunter
 * @version 1.0
 * 2016/07/18
 */

@Repository
public interface ConferenceRecordDao {
	/**
	 * 通过cRecordId获取ConferenceRecord
	 * @param 	cRecordId
	 * @return ConferenceRecord 
	 * */
	public ConferenceRecord getRecord(Integer cRecordId);
	/**
	 * 添加一个cRecord  并返回添加的实体类
	 * @param 	cRecordId
	 * @return ConferenceRecord 
	 * */
	public ConferenceRecord addRecord(ConferenceRecord cRecord);
	/**
	 * 删除一个cRecord  并返回删除的实体类
	 * @param 	cRecord ConferenceRecord实体类
	 * @return ConferenceRecord 
	 * */
	public void deleteRecord(ConferenceRecord cRecord);
	/**
	 * 修改一个cRecord  并返回修改的实体类
	 * @param  cRecord  ConferenceRecord实体类
	 * @return ConferenceRecord 
	 * */
	public void modifly(ConferenceRecord cRecord);
	/**
	 * 查询所有会议操作信息
	 * @param p
	 * @return
	 */
	public Page<ConferenceRecord> getConferenceRecordAll(Page p);
	/**
	 * 通过信息id获取ConferenceRecord
	 * @param 	informationId
	 * @return ConferenceRecord 
	 * */
	public ConferenceRecord getRecordByinfoId(Integer infoId);
	
}
